package com.epalmpay.service.machinewasher;

import com.epalmpay.dto.machinewasher.MachineWasherInDTO;
import com.epalmpay.dto.machinewasher.MachineWasherOutDTOList;
import com.epalmpay.entity.MachineWasher;
import com.epalmpay.entity.MachineWasherLog;
import com.epalmpay.entity.Page;
import com.epalmpay.entity.TradeOffline;
import com.epalmpay.exception.ApplicationException;

import java.util.Map;

/**
 * Created by Administrator on 2018/3/15.
 */
public interface IMachineWasherService {
    MachineWasherOutDTOList queryMachineWasherList(MachineWasherInDTO machineWasherInDTO, Page page) throws ApplicationException;

    MachineWasher selectMachineByBoardId(String boardid);

    public void refundOrder(TradeOffline to) throws Exception;

    int updateMachineWasherByShortId(Map<String, Object> param);

    void updateAddress(MachineWasherInDTO machineWasherInDTO) throws ApplicationException;

    MachineWasherOutDTOList queryWashDetail(MachineWasherInDTO machineWasherInDTO, Page page)throws ApplicationException;

    void editWash(MachineWasherInDTO machineWasherInDTO)throws ApplicationException;

    MachineWasherLog queryWashAddress(String orderId);

    void batchEditWashBelong(MachineWasherInDTO machineWasherInDTO)throws ApplicationException;

    MachineWasherLog queryWashInfoByOrderId(String orderId)throws ApplicationException;
}
